package com.framework.gateway;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.framework.common.util.OSSClientUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@ComponentScan(value = {"com.framework.common.config.redis","com.framework.common.util", "com.framework.gateway"},
        excludeFilters={@ComponentScan.Filter(type=FilterType.ASSIGNABLE_TYPE,value ={OSSClientUtil.class})})
@EnableDiscoveryClient
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class,DruidDataSourceAutoConfigure.class})
public class TtzCloudGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(TtzCloudGatewayApplication.class, args);
    }

}
